/**
 * simple convenience wrapper object for the standard
 * Properties class to return pre-typed numerals
 */
class P5Properties extends Properties {
 
  boolean getBooleanProperty(String id, boolean defState) {
    return boolean(getProperty(id,""+defState));
  }
 
  int getIntProperty(String id) {
    return int(getProperty(id)); 
  }
 
  float getFloatProperty(String id) {
    return float(getProperty(id)); 
  }  
}
